import request from '../request'
//  用户协议

export const privacyAgreement = (data: any, Proxy: any) => {
  return request(
    {
      url: '/member/auth/privacyAgreement',
      method: 'GET',
      data

    },
    Proxy
  )
}

export const userGetPrivacyPolicy = (data: any, Proxy: any) => {
  return request(
    {
      url: '/member/auth/getPrivacyPolicy',
      method: 'POST',
      data

    },
    Proxy
  )
}

// 数据字典  多个用 , 逗号隔开
export const dictData = (data: string, Proxy: any) => {
  return request({
    url: '/common/dictData?dictType=' + data,
    method: "GET",
    data,
  }, Proxy)
}
